package com.yfp.operation.domain.dto;

import com.yfp.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 用户提现账单
 *
 * @CreateDate: 2024/5/28 14:10
 * @UpdateUser:
 * @UpdateDate: 2024/5/28 14:10
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Data
@Tag(name = "提现管理响应参数")
public class UserWithdrawResponseInfoDTO {

    @Excel(name = "订单编号")
    @Schema(description = "订单编号")
    private String orderSn;
    @Excel(name = "交易金额",cellType = Excel.ColumnType.NUMERIC)
    @Schema(description = "交易金额")
    private BigDecimal payMoney;
    @Excel(name = "分账比例")
    @Schema(description = "分账比例")
    private String proportion;
    @Excel(name = "交易手续费",cellType = Excel.ColumnType.NUMERIC)
    @Schema(description = "交易手续费")
    private String feeRate;
    @Excel(name = "交易时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "交易时间")
    private Date orderTime;
    @Schema(description = "支付时间")
    private Date payTime;
    @Schema(description = "订单状态")
    @Excel(name = "订单状态", readConverterExp = "1=未支付,2=未取餐,3=已完成,4=已退款,5=退款中,6=退款中,7=已取消,8=已付款,9=退款失败")
    private Integer payStatus;
    @Excel(name = "分账金额",cellType = Excel.ColumnType.NUMERIC)
    @Schema(description = "分账金额")
    private BigDecimal money;
}